Basic concepts of load balancing
Load balancing is a computer network technology used to distribute loads across multiple computers (computer clusters), network connections, CPUs, disk drives, or other resources to achieve optimal resource usage,
0. Pre-PreparationUse the Debian environment. Install Nginx (default installation), a Web project, install Tomcat (default installation), etc.1. A copy of the nginx.conf configuration file# define Nginx Users and user groups if the corresponding
the choice of communication mechanism
Nginx and PHP-FPM are using either a TCP socket or a UNIX socket. reasonable Configuration Nginx processing request number
#cat/proc/cpuinfo | grep processor #查看服务器cpu的处理器数量
#
In Linux systems, we often use the free command to view the state of the system's memory usage. On a RHEL6 system, the display of the free command is probably a state:[[email protected] ~]# free total used free shared
Last week in doing the expansion of the log machine, found that yun-dimensional students will be a hard disk mount point is not consistent with the previous log machine, considering this will bring trouble to future maintenance, and then try to
File attributes (Ls-lhi see the information)1.1 First column: Inode number 1.1.1 What is inodeThe file is stored on the hard disk, and the minimum storage unit for the hard disk is called "Sector" (sector). The size of each "sector" is 512 bytes
File attributes (Ls-lhi see the information)1.1 First column: Inode number 1.1.1 What is inodeThe file is stored on the hard disk, and the minimum storage unit for the hard disk is called "Sector" (sector). The size of each "sector" is 512 bytes
After a file is deleted in Linux, the space is not released. ########################## restart the file application. In this way, the application can be released. Reason: linux only deletes the link between the file and the system directory
No space is released after CentOS deletes the file.
Today, I found that the home space of a server is full, so I want to clear useless files. After I delete the files, I find that the available space has not changed.OS: centos6.0
Symptom:
Disk space
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.